<?php
/* @var $this UserController */
/* @var $model User */

$this->breadcrumbs=array(
	'Users'=>array('index'),
	$model->id,
);

?>

<div class="container">
	<ol class="breadcrumb">
		<li><?php echo CHtml::link('首页', array('/site/index'));?></li>
		<li class="active"><?php echo CHtml::link('用户', array('/user/index'));?></li>
	</ol>

    <div class="row">
        <!-- Article main content -->
        <article class="col-md-10 maincontent">
			<header class="page-header">
				<h1 class="page-title">用户详情</h1>
			</header>
            <?php $this->widget('zii.widgets.CDetailView', array(
            	'data'=>$model,
            	'attributes'=>array(
                    // 'id',
            		array('label'=>'用户名','value'=>$model->username),
                    // 'password',
            		'flag',
            		array('label'=>'邮箱','value'=>$model->email),
            		array('label'=>'电话','value'=>$model->phone),
            		array('label'=>'余额','value'=>$model->money),
            		array('label'=>'地址','value'=>$model->address),
            	),
            )); ?>
        </article>
        <!-- /Article -->
        <!-- Sidebar -->
        <aside class="col-md-2 sidebar sidebar-right">

            <div class="row widget">
                <div class="col-xs-12">
                    <h5><?php echo CHtml::link('用户列表', array('/user/index'));?></h5>
                    <h5><?php echo CHtml::link('添加用户', array('/user/create'));?></h5>
                    <h5><?php echo CHtml::link('更新用户', array('/user/update', 'id'=>$model->id));?></h5>
                    <h5><?php echo CHtml::link(CHtml::encode('删除用户'), array('/user/delete', 'id'=>$model->id), array('submit'=>array('/user/delete', 'id'=>$model->id),'class'=>'delete','confirm'=>'确认删除用户吗?'));?></h5>
                    <h5><?php echo CHtml::link('管理用户', array('/user/admin'));?></h5>
                </div>
            </div>
            <div class="row widget">
                <div class="col-xs-12">
                    <p><img src="<?php echo Yii::app()->request->baseUrl; ?><?php echo Yii::app()->request->baseUrl; ?>/Progressus//assets/images/1.jpg" alt=""></p>
                </div>
            </div>
            <div class="row widget">
                <div class="col-xs-12">
                    <p><img src="<?php echo Yii::app()->request->baseUrl; ?><?php echo Yii::app()->request->baseUrl; ?>/Progressus//assets/images/2.jpg" alt=""></p>
                </div>
            </div>

        </aside>
        <!-- /Sidebar -->
    </div>
</div>
